package com.traffic.mapper;

import com.traffic.domain.FamilyAbroad;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 亲属出国信息Mapper接口
 * 
 * @author zzs
 * @date 2024-11-11
 */
@Mapper
public interface FamilyAbroadMapper 
{
    /**
     * 查询亲属出国信息
     * 
     * @param id 亲属出国信息主键
     * @return 亲属出国信息
     */
    public FamilyAbroad selectFamilyAbroadById(String id);

    /**
     * 查询亲属出国信息列表
     * 
     * @param familyAbroad 亲属出国信息
     * @return 亲属出国信息集合
     */
    public List<FamilyAbroad> selectFamilyAbroadList(FamilyAbroad familyAbroad);

    /**
     * 新增亲属出国信息
     * 
     * @param familyAbroad 亲属出国信息
     * @return 结果
     */
    public int insertFamilyAbroad(FamilyAbroad familyAbroad);

    /**
     * 修改亲属出国信息
     * 
     * @param familyAbroad 亲属出国信息
     * @return 结果
     */
    public int updateFamilyAbroad(FamilyAbroad familyAbroad);

    /**
     * 删除亲属出国信息
     * 
     * @param id 亲属出国信息主键
     * @return 结果
     */
    public int deleteFamilyAbroadById(String id);

    /**
     * 批量删除亲属出国信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFamilyAbroadByIds(String[] ids);
}
